/** 获取首页数据 */
export function fetchHome() {
  return new Promise((resolve) => {
    wx.cloud.database().collection('book-category').orderBy('sort','asc').get().then(res=>{
      resolve({
        tabList: res.data,
      });
    })
  });
}
